package com.example.springboot.file.service;


import com.example.springboot.file.entity.FileDatalVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface FileUploadService {
    /**
     * 文件上传
     *
     * @return
     */
    public FileDatalVo upload(MultipartFile file, String systemType, String basePath) throws IOException;

    /**
     * 文件下载
     * @return
     */
    public String download(FileDatalVo fileVo);
}
